/*
 * Copyright 2025 arisgo@163.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.arisgo.cloud.auth.sys.vo;

import com.arisgo.cloud.web.model.NumberId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 数据权限表
 *
 * @author Arisgo
 * @since 2024-06-12
 */
@Data
@Schema(description = "数据权限表信息")
public class ScopeDataVo extends NumberId {

    /**
     * 菜单主键
     */
    @Schema(name = "menuId", description = "菜单主键")
    private Long menuId;

    /**
     * 资源编号
     */
    @Schema(name = "resourceCode", description = "资源编号")
    private String resourceCode;

    /**
     * 数据权限名称
     */
    @Schema(name = "scopeName", description = "数据权限名称")
    private String scopeName;

    /**
     * 数据权限字段
     */
    @Schema(name = "scopeField", description = "数据权限字段")
    private String scopeField;

    /**
     * 数据权限类名
     */
    @Schema(name = "scopeClass", description = "数据权限类名")
    private String scopeClass;

    /**
     * 数据权限字段
     */
    @Schema(name = "scopeColumn", description = "数据权限字段")
    private String scopeColumn;

    /**
     * 数据权限类型
     */
    @Schema(name = "scopeType", description = "数据权限类型")
    private Integer scopeType;

    /**
     * 数据权限值域
     */
    @Schema(name = "scopeValue", description = "数据权限值域")
    private String scopeValue;

    /**
     * 数据权限备注
     */
    @Schema(name = "remark", description = "数据权限备注")
    private String remark;

    /**
     * 创建部门
     */
    @Schema(name = "createDept", description = "创建部门")
    private Long createDept;

    /**
     * 状态
     */
    @Schema(name = "status", description = "状态")
    private Integer status;

}
